Contoh kod sumber BLISS

Contoh berikut diambil dari buku Panduan Mengaturcara Bliss (Bliss Programming Manual):

MODULE E1 (MAIN = CTRL) =
BEGIN
FORWARD ROUTINE

CTRL,STEP;

ROUTINE CTRL =
!+
! This routine inputs a value, operates on it, and
! then outputs the result.
!-

BEGINEXTERNAL ROUTINEGETNUM, ! Input a number from terminalPUTNUM; ! Output a number to terminalLOCALX, ! Storage for input valueY; ! Storage for output valueGETNUM(X);Y = STEP(.X);PUTNUM(.Y)END;

ROUTINE STEP(A) =
!+
! This routine adds 1 to the given value.
!-

(.A+1);

END
ELUDOM